package edu.whut.mall.mapper;

import edu.whut.mall.model.GroupBuyOrder;
import edu.whut.mall.model.GroupBuyOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GroupBuyOrderMapper {
    long countByExample(GroupBuyOrderExample example);

    int deleteByExample(GroupBuyOrderExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GroupBuyOrder record);

    int insertSelective(GroupBuyOrder record);

    List<GroupBuyOrder> selectByExample(GroupBuyOrderExample example);

    GroupBuyOrder selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GroupBuyOrder record, @Param("example") GroupBuyOrderExample example);

    int updateByExample(@Param("record") GroupBuyOrder record, @Param("example") GroupBuyOrderExample example);

    int updateByPrimaryKeySelective(GroupBuyOrder record);

    int updateByPrimaryKey(GroupBuyOrder record);
}